package cate.game.role.res.guild.msg;

import cate.game.client.msg.ClientMsg;
import cate.game.client.msg.MsgConfig;
import cate.game.client.msg.MsgOutput;
import cate.game.client.msg.id.MsgIdGuild;
import cate.game.role.res.guild.po.GuildPO;
import cate.game.role.res.guild.po.basic.GuildBasicPO;
import cate.game.role.res.guild.po.member.GuildMemberPO;
import easy.java.dev.note.NoteField;

@ClientMsg(title = "某个公会详情数据 の 返回")
public class GuildViewDetailResp implements MsgOutput {
    @NoteField(value = "公会basic")
    public GuildBasicPO basic;
    @NoteField(value = "公会成员")
    public GuildMemberPO member;

    public GuildViewDetailResp() {
    }

    public GuildViewDetailResp(GuildPO guild) {
        this.basic = guild.basic;
        this.member = guild.member;
    }

    @Override
    public MsgConfig conf() {
        return MsgIdGuild.GUILD_VIEW_DETAIL_RESP;
    }
}
